package javaBase.chapter01;

public class calFigure {
    public static void main(String[] args) {
        int a = 6;
        int b = 5;
        System.out.println(a + b);
        System.out.println(a - b);
        System.out.println(a * b);
        System.out.println(a / b);
        int num = 456;
        int c = num % 10;
        int d = (num / 10) % 10;
        int e = num / 100;
        System.out.println("个位数" + c);
        System.out.println("十位数" + d);
        System.out.println("百位" + e);
    }

}
